package com.shop.loan.mapper;

import com.shop.loan.model.entity.UserBankByMybatis;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserBankByMybatisMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserBankByMybatis row);

    int insertSelective(UserBankByMybatis row);

    UserBankByMybatis selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserBankByMybatis row);

    int updateByPrimaryKey(UserBankByMybatis row);

    List<UserBankByMybatis> selectByUser(@Param("userId") Long userId);

    List<UserBankByMybatis> selectByOrderId(@Param("orderId") Long orderId);
}